import axios from './request'

export async function login({ username, password }:{ username: any, password: any }) {
  const { data } = await axios.post('/user/login', { username, password })
  return data
}
